// 采购管理
export default {
  path: "/ERP_procure",
  meta: {
    icon: "ri:bit-coin-line",
    title: "采购管理",
    rank: 20,
    roleIds: ["cloudPurchase", "supply"]
  },
  children: [
    // 菜单展示类
    {
      path: "/ERP_procure/procureContract",
      name: "procureContract",
      component: () => import("@/views/ERP_procure/procureContract.vue"),
      meta: {
        icon: "ri:contract-line",
        title: "采购合同",
        showParent: true,
        keepAlive: true
      }
    },
    {
      path: "/ERP_procure/procureSupplementContract",
      name: "procureSupplementContract",
      component: () =>
        import("@/views/ERP_procure/procureSupplementContract.vue"),
      meta: {
        icon: "ri:file-shield-2-line",
        title: "采购补充合同",
        showParent: true,
        keepAlive: true
      }
    },
    // 跳转详情类
    {
      path: "/ERP_procure/components/editProcureContract",
      name: "editProcureContract",
      component: () =>
        import("@/views/ERP_procure/components/editProcureContract.vue"),
      meta: {
        showLink: false,
        keepAlive: true
      }
    },
    {
      path: "/ERP_procure/components/editSupProcureContract",
      name: "editSupProcureContract",
      component: () =>
        import("@/views/ERP_procure/components/editSupProcureContract.vue"),
      meta: {
        showLink: false,
        keepAlive: true
      }
    },
    {
      path: "/ERP_procure/components/procureContractDetail",
      name: "procureContractDetail",
      component: () =>
        import("@/views/ERP_procure/components/procureContractDetail.vue"),
      meta: {
        showLink: false,
        keepAlive: true
      }
    }
  ]
};
